package com.dinpay.plugin.a;

import android.content.Context;
import android.graphics.Color;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import java.util.List;

public final class b extends BaseAdapter
{
  private List a;
  private Context b = null;
  private TextView c;

  public b()
  {
  }

  public b(List paramList, Context paramContext)
  {
    this.a = paramList;
    this.b = paramContext;
  }

  public final int getCount()
  {
    return this.a.size();
  }

  public final Object getItem(int paramInt)
  {
    return Integer.valueOf(this.a.size());
  }

  public final long getItemId(int paramInt)
  {
    return paramInt;
  }

  public final View getView(int paramInt, View paramView, ViewGroup paramViewGroup)
  {
    a locala1;
    if (paramView == null)
    {
      locala1 = new a();
      this.c = new TextView(this.b);
      this.c.setGravity(3);
      this.c.setTextSize(18.0F);
      this.c.setPadding(10, 10, 0, 10);
      this.c.setTextColor(Color.parseColor("#ff50494a"));
      this.c.setId(100002);
      paramView = this.c;
      locala1.a(this.c);
      paramView.setTag(locala1);
    }
    a locala2;
    for (Object localObject = locala1; ; localObject = locala2)
    {
      String str = (String)this.a.get(paramInt);
      if (str != null)
        ((a)localObject).a().setText(str);
      return paramView;
      locala2 = (a)paramView.getTag();
      locala2.a().setText("");
    }
  }

  final class a
  {
    private TextView b;

    a()
    {
    }

    public final TextView a()
    {
      return this.b;
    }

    public final void a(TextView paramTextView)
    {
      this.b = paramTextView;
    }
  }
}

/* Location:           C:\Users\user\Desktop\dd28_pcdd720\classes_dex2jar.jar
 * Qualified Name:     com.dinpay.plugin.a.b
 * JD-Core Version:    0.6.2
 */